package table

import "db2s/go-log/log"

var (
	WLog *log.Logger
	vlog  string
)

func debugWriteActive(str string){
	if WLog != nil {
		WLog.Debug(str)
	}
}
func infoWriteActive(str string){
	if WLog != nil {
		WLog.Info(str)
	}
}
func warnWriteActive(str string){
	if WLog != nil {
		WLog.Warn(str)
	}
}
func errorWriteActive(str string){
	if WLog != nil {
		WLog.Error(str)
	}
}